<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>

    <title>Login</title>

    <link rel="stylesheet" href="css/common.css"/>

</head>

<body>
<f:view>
    <f:loadBundle basename="ResourceBundle" var="bundle"/>
    <h:form id="loginForm">

        <div align="center" style="position: absolute; left:40%;width: 384px; height: 162px">
            <div align="center" style="background:#007bd9">
                <h2><h:outputText value="INTECH" style="color: white"/></h2>

                <h2><h:outputText value="Innovate technologies" style="color: white"/></h2>
            </div>
            <div style="background-color:#007bd9;">
                <div>
                    <h:outputText value="#{bundle.login}:" styleClass="labels"/>
                    <h:inputText value="#{loginBean.login}" styleClass="fields"/>
                </div>
                <br>

                <div>
                    <h:outputText value="#{bundle.password}:" styleClass="labels"/>
                    <h:inputText value="#{loginBean.password}" styleClass="fields"/>
                </div>
                <br>
                <br>
                <h:commandButton value="#{bundle.ok_button}" action="#{loginBean.toMenuTextDescription}"
                                 style="width: 98%;text-align:center;background:#007bd9;color: white"/>
            </div>
        </div>

    </h:form>
</f:view>
</body>
</html>